package com.gec.config;

import com.gec.service.workflow.WorkFlowService;
import com.gec.service.workflow.WorkFlowServiceImpl;
import com.gec.util.MyTaskListener;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WorkFlowConfig {

    @Bean
    public WorkFlowService workFlowService() {
        return new WorkFlowServiceImpl();
    }

}
